//
//  UIButton+Extension.h
//  shusheng
//
//  Created by rimi on 16/7/9.
//  Copyright © 2016年 yuying. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Extension)
+(UIButton *)createButton:(CGRect)frame
                   center:(CGPoint)center
                    color:(UIColor *)color
             cornerRadius:(CGFloat)cornerRadius
            masksToBounds:(BOOL)masksToBounds
                    title:(NSString *)string
                      tag:(NSInteger)tag;

+ (UIButton *)creatSideBtnCenter:(CGPoint)center
                           color:(UIColor *)color
                           title:(NSString *)string
                             tag:(NSInteger)tag;
@end
